package cn.yunhe.hom;

public class AnimalTest {
    public static void main(String[] args) {
        Rabbit rabbit = new Rabbit("小兔子");
        rabbit.eat();
        rabbit.sleep();
        Tiger tiger = new Tiger("小老虎");
        tiger.eat();
        tiger.sleep();
    }
}
